<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>数组反转</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<script type="text/javascript">
    var arr = ['34','25','19','51','32','35'];
    var n = 0;
    var new_arr = [];
    for(var i=arr.length-1; i>=0; i--) {
        new_arr[n] = arr[i];
        n++;
    }
    alert(new_arr);
</script>

<style type="text/css">
</style>
</head>
    <body>
    </body>
</html>